package com.mall.user.dto.entity;

    import com.baomidou.mybatisplus.annotation.IdType;
    import com.baomidou.mybatisplus.extension.activerecord.Model;
    import com.baomidou.mybatisplus.annotation.TableId;
    import java.time.LocalDateTime;
    import com.baomidou.mybatisplus.annotation.TableField;
    import java.io.Serializable;
    import lombok.Data;
    import lombok.EqualsAndHashCode;
    import lombok.experimental.Accessors;

/**
* <p>
    * 
    * </p>
*
* @author xrj
* @since 2022-05-02
*/
    @Data
        @EqualsAndHashCode(callSuper = false)
    @Accessors(chain = true)
    public class TbUserVerify extends Model<TbUserVerify> {

    private static final long serialVersionUID = 1L;

            @TableId(value = "id", type = IdType.AUTO)
    private Long id;

        @TableField("username")
    private String username;

        @TableField("register_date")
    private LocalDateTime registerDate;

        @TableField("uuid")
    private String uuid;

            /**
            * 是否验证Y已验证，N为验证
            */
        @TableField("is_verify")
    private String isVerify;

            /**
            * 是否过期Y已过期，N为过期
            */
        @TableField("is_expire")
    private String isExpire;


    @Override
    protected Serializable pkVal() {
        return this.id;
    }

}
